home *** CD-ROM | disk | FTP | other *** search
/ Aminet 2 / Aminet AMIGA CDROM (1994)(Walnut Creek)[Feb 1994][W.O. 44790-1].iso / Aminet / util / misc / easyproc.lha / EasyProcess / Source / Launch / Launch.h < prev    next >
Encoding:
C/C++ Source or Header  |  1992-09-08  |  687 b   |  24 lines

  1. /*
  2.  *    Functions to manage sub-process in a program.
  3.  *
  4.  *    You can launch processes running on your code, and these processes
  5.  *    can also launch other processes.
  6.  *
  7.  *    You MUST call WaitProcesses() before exiting if you have launched other
  8.  *    processes.  This necessary for ALL process that launch others.
  9.  *
  10.  */
  11.  
  12. extern struct ArpBase *ArpBase;
  13.  
  14. #define KILL_PROCESS_FLAG    SIGBREAKF_CTRL_C
  15.  
  16. struct Process *StartProcess (char *Name, CPTR EntryPoint, void *Data, WORD Pri);
  17. void KillProcess (struct Process *);
  18. void KillProcesses (void);
  19. void WaitProcess (struct Process *);
  20. void WaitProcesses (void);
  21. BOOL CheckKill (void);
  22. BOOL CheckAlive (struct Process *);
  23. void FlushProcesses (void);
  24.